package com.linkhub.oms.common.enums.mp;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: OrderStockStatusEnum
 * @Author: jaycle
 * @Date: 2024/4/28 20:08
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum OrderStockStatusEnum implements IEnumConvert<Integer> {

    VOID(-1, "无状态"),
    OUT_OF_STOCK(0, "无货"),
    IN_STOCK(1, "有货"),
    ;

    @EnumValue
    private final Integer code;
    private final String desc;
}
